﻿using System;

namespace Joy.Erp.Ufida.Core
{
    public class CachedToken
    {
        public string Token { get; set; }
        public DateTime ExpiresAt { get; set; }

        public bool IsExpired()
        {
            return DateTime.UtcNow >= ExpiresAt;
        }
    }
}
